<?php

use yii\helpers\Url;

?>
<style>
<!--
.container {
	width:100% !important;
}
-->
</style>

<div class="row">
	<div class="col-md-6">
		    <div class="panel panel-primary">
       			 <div class="panel-heading">business</div>
        <div class="panel-body">
            
                 <table class="table table-bordered">
                 <thead>
                 	<tr>
                 		<th>id</th>
                 		<th>名称</th>
                 		<th>价格</th>
                 		<th>状态</th>
                 		<th>类型1授权2第三方查询3短信4其他</th>
                 		<th>创建时间</th>
                 		<th>创建者</th>
                 	</tr>
                 </thead>
                 
            	<tbody>
                <?php 
                    if ($list) :
                    foreach ($list as $key => $val) :
                ?>
               
                <tr>
                	<td><?= $val['id']?></td>
                    <td><?= $val['name'] ?></td>
                    <td><?= $val['price'] ?></td>
                    <td><?= $val['status'] ?></td>
                    <td><?= $val['type'] ?></td>
                    <td><?= $val['create_time'] ?></td>
                    <td><?= $val['creator'] ?></td>
                  
                </tr>
               
                <?php
                    endforeach;
                    endif;
                ?>
                
                  </tbody>
            </table>
                
           
        </div>
    </div>
		
		
	</div>
	
	<div class="col-md-6">
		    <div class="panel panel-primary">
       			 <div class="panel-heading">sms-model</div>
        <div class="panel-body">
            
                 <table class="table table-bordered">
                 <thead>
                 	<tr>
                 		<th>id</th>
                 		<th>名称</th>
                 		<th>模板号</th>
                 		<th>内容</th>
                 		<th>状态1启用2禁用</th>
                 	</tr>
                 </thead>
                 
            	<tbody>
                <?php 
                    if ($models) :
                    foreach ($models as $key => $val) :
                ?>
               
                <tr>
                	<td><?= $val['id']?></td>
                	<td><?= $val['title'] ?></td>
                    <td><?= $val['template_code'] ?></td>
                    <td><?= $val['content'] ?></td>
                    <td><?= $val['status'] ?></td>
                </tr>
               
                <?php
                    endforeach;
                    endif;
                ?>
                
                  </tbody>
            </table>
                
           
        </div>
    </div>
		
		
	</div>
</div>